package com.xkcyy.climb.persist;

import javax.persistence.criteria.Expression;
import java.util.List;

/**
 * Predicate
 *
 * @author yuand
 * @date 2024/3/15
 **/
public interface Predicate extends Expression<Boolean> {

    enum LogicOperator {
        AND,
        OR
    }


    LogicOperator getOperator();


    boolean isNegated();



    List<Expression<Boolean>> getExpressions();


    Predicate not();

}
